package com.zero.yygh.order.client;

import com.zero.yygh.vo.order.OrderCountQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @author zero
 * @desc OrderFeign
 * @create 2021/5/12
 */
@FeignClient("service-order")
@Repository
public interface OrderFeignClient {

    /**
     * 获取订单数据
     * @author zero
     * @date 2021/5/12 15:18
     * @param orderCountQueryVo  查询条件
     * @return Map<String,Object>
     */
    @PostMapping("/api/order/orderInfo/inner/getCountMap")
    Map<String, Object> getCountMap(@RequestBody OrderCountQueryVo orderCountQueryVo);

}
